package com.yc.fedex.model.error;

import com.yc.fedex.exceptions.FedexError;
import lombok.Getter;
import lombok.Setter;

import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;

@Setter
@Getter
@XmlRootElement
public class FedexErrorsRoot {

    private String transactionId;

    private List<FedexError> errors = new ArrayList<>();

}
